package com.ruiyian.bridge.info.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;

/**
 * @Description: 静力沉降数据
 * @Author: jeecg-boot
 * @Date:   2020-08-25
 * @Version: V1.0
 */
@Data
@TableName("t_mmh2o_info")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
public class Mmh2oInfo implements Serializable {
    private static final long serialVersionUID = 1L;

	/**数据id*/
//	@TableId(type = IdType.AUTO)
    private String id;
	/**水准压力监测值*/
    private String mmh2o;
	/**温度监测值*/
    private String temp;
	/**监测时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "HH:mm")
    @DateTimeFormat(pattern="HH:mm")
    private java.util.Date creattime;
	/**设备地址*/
    private String addr;
	/**设备所属站点地址*/
    private String macaddr;
	private String jgvalue;

	@TableField(exist = false)
	private String time;
}
